import request from '@/utils/request'
/**
 * 币币相关
 */
// 获取币币历史k线图
export function getCoinHistoryListApi(params) {
  return request({
    url: '/api/getHbHistoryKline',
    method: 'get',
    params
  })
}

// 抢单
export function postRobApi(data) {
  return request({
    url: '/institution/appeal/loan/rob/' + data.id,
    method: 'post',
    data
  })
}